home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / PointingPlugin.a < prev    next >
Text File  |  1996-05-01  |  2KB  |  58 lines

  1. ;
  2. ;    File:        PointingPlugin.a
  3. ;
  4. ;    Contains:    Interface for Pointer Family Plugins
  5. ;
  6. ;    Version:    Technology:    Copland
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__POINTINGPLUGIN__') = 'UNDEFINED' THEN
  19. __POINTINGPLUGIN__ SET 1
  20.  
  21.     IF &TYPE('__NAMEREGISTRY__') = 'UNDEFINED' THEN
  22.     include 'NameRegistry.a'
  23.     ENDIF
  24.     IF &TYPE('__POINTING__') = 'UNDEFINED' THEN
  25.     include 'Pointing.a'
  26.     ENDIF
  27.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  28.     include 'Types.a'
  29.     ENDIF
  30.     IF FOR_SYSTEM8_PREEMPTIVE THEN
  31. ; *************** Calls Implemented By Plugins ***************
  32.  
  33. kCoplandPTPluginVersion            EQU        $00000001
  34. PTPluginHeader            RECORD 0
  35. version                     ds.l    1                ; offset: $0 (0)        ;  version of the plugin interface
  36. reserved1                 ds.l    1                ; offset: $4 (4)
  37. reserved2                 ds.l    1                ; offset: $8 (8)
  38. reserved3                 ds.l    1                ; offset: $C (12)
  39. sizeof                     EQU *                    ; size:   $10 (16)
  40.                         ENDR
  41. PTDeviceDispatchTable    RECORD 0
  42. header                     ds        PTPluginHeader ; offset: $0 (0)
  43. PTPluginValidateHardware  ds.l    1                ; offset: $10 (16)
  44. PTPluginInitialize         ds.l    1                ; offset: $14 (20)
  45. PTPluginTerminate         ds.l    1                ; offset: $18 (24)
  46. PTPluginStartIO             ds.l    1                ; offset: $1C (28)
  47. PTPluginStopIO             ds.l    1                ; offset: $20 (32)
  48. PTPluginGetNextData         ds.l    1                ; offset: $24 (36)
  49. PTPluginGetDeviceModes     ds.l    1                ; offset: $28 (40)
  50. PTPluginSetDeviceModes     ds.l    1                ; offset: $2C (44)
  51. sizeof                     EQU *                    ; size:   $30 (48)
  52.                         ENDR
  53. ; typedef struct PTDeviceDispatchTable * PTDeviceDispatchTablePtr
  54.  
  55.     ENDIF
  56.     ENDIF ; __POINTINGPLUGIN__ 
  57.  
  58.